package com.xigua.multithreading;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2021/12/2222:28
 */
public class Demo {


    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        BaoZiPu baoZiPu = new BaoZiPu("包子铺",list);
        ChiHuo chiHuo = new ChiHuo("吃货",list);

        baoZiPu.start();
        chiHuo.start();

    }

}
